import React, { memo } from "react";
import css from './css.module.scss'
import RechTitle from '../RechTitle'
import { dwDOC } from '../../common/utils'
export default memo(function DownList(props) {
    const { list = [] } = props
    return (
        <div className={css.dow_list}>
            <RechTitle title='附件下载'></RechTitle>
            <div>
                {list.map(item => {
                    return (
                        <div key={item.uid} className={css.acc_title} onClick={e => dwDOC(item.response.data)}>
                            附件:{item.name}
                        </div>
                    )
                })}
            </div>
        </div>
    )
})
